package com.loveazure.bll.algorithm;

import java.util.Comparator;

public class WordItemComparator implements Comparator<WordItem> {

	@Override
	public int compare(WordItem o1, WordItem o2) {
		return (o1.getIndex() >= o2.getIndex()) ? 1 : -1;
	}
}
